package com.ztc.ZtcTransportDefaultPercentage.bean;


import com.aqgj.util.BaseEntity;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.math.BigDecimal;

@Entity
@Table(name = "ztc_transport_default_percentage")
public class ZtcTransportDefaultPercentage implements BaseEntity {

    private String id;//

    private java.math.BigDecimal provincialLevelScale;//省级比例(%，除去运营，用户，运营，地级提成比例后折算提成)

    private java.math.BigDecimal municipalLevelScale;//地级比例(%，除去运营，用户，运营提成比例后折算提成)

    private java.math.BigDecimal operationLevelScale;//运营比例(%，除去运营，用户提成比例后折算提成)

    private java.math.BigDecimal carCutLevelScale;//车方比例(%，运营公司提成比例的基础上折算提成)

    private java.math.BigDecimal dealerUserLevelScale;//分销商用户比例(%，和运营提成比例相加不能超过100%)

    private java.math.BigDecimal twoProportion;//乘客二级返利比例

    private java.math.BigDecimal threeProportion;//乘客三级返利比例

    private java.math.BigDecimal commonUserLevelScale;//普通用户比例(%，和运营提成比例相加不能超过100%)

    private String appPrivateCarScale;//私家车三级返利及平台提成json数据

    private java.util.Date createTime;//创建时间

    public void setId(String value){
        this.id = value;
    }
    public void setProvincialLevelScale(java.math.BigDecimal value){
        this.provincialLevelScale = value;
    }
    public void setMunicipalLevelScale(java.math.BigDecimal value){
        this.municipalLevelScale = value;
    }
    public void setOperationLevelScale(java.math.BigDecimal value){
        this.operationLevelScale = value;
    }
    public void setCarCutLevelScale(java.math.BigDecimal value){
        this.carCutLevelScale = value;
    }
    public void setDealerUserLevelScale(java.math.BigDecimal value){
        this.dealerUserLevelScale = value;
    }
    public void setCommonUserLevelScale(java.math.BigDecimal value){
        this.commonUserLevelScale = value;
    }
    public void setCreateTime(java.util.Date value){
        this.createTime = value;
    }
    public void setTwoProportion(BigDecimal twoProportion) {  this.twoProportion = twoProportion; }
    public void setThreeProportion(BigDecimal threeProportion) { this.threeProportion = threeProportion; }
    public void setAppPrivateCarScale(String appPrivateCarScale) { this.appPrivateCarScale = appPrivateCarScale; }

    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name ="id",unique=true,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="provincial_level_scale",unique=false,nullable=false,insertable=true,updatable=true,length=20)
    public java.math.BigDecimal getProvincialLevelScale(){
        return this.provincialLevelScale;
    }
    @Column(name ="municipal_level_scale",unique=false,nullable=false,insertable=true,updatable=true,length=20)
    public java.math.BigDecimal getMunicipalLevelScale(){
        return this.municipalLevelScale;
    }
    @Column(name ="operation_level_scale",unique=false,nullable=false,insertable=true,updatable=true,length=20)
    public java.math.BigDecimal getOperationLevelScale(){
        return this.operationLevelScale;
    }
    @Column(name ="car_cut_level_scale",unique=false,nullable=false,insertable=true,updatable=true,length=20)
    public java.math.BigDecimal getCarCutLevelScale(){
        return this.carCutLevelScale;
    }
    @Column(name ="dealer_user_level_scale",unique=false,nullable=false,insertable=true,updatable=true,length=20)
    public java.math.BigDecimal getDealerUserLevelScale(){
        return this.dealerUserLevelScale;
    }
    @Column(name ="common_user_level_scale",unique=false,nullable=false,insertable=true,updatable=true,length=20)
    public java.math.BigDecimal getCommonUserLevelScale(){
        return this.commonUserLevelScale;
    }
    @Column(name ="create_time",unique=false,nullable=false,insertable=true,updatable=true,length=0)
    public java.util.Date getCreateTime(){
        return this.createTime;
    }
    @Column(name ="two_proportion",unique=false,nullable=false,insertable=true,updatable=true,length=20)
    public BigDecimal getTwoProportion() { return twoProportion; }
    @Column(name ="three_proportion",unique=false,nullable=false,insertable=true,updatable=true,length=20)
    public BigDecimal getThreeProportion() { return threeProportion;  }
    @Column(name ="app_private_car_scale",unique=false,nullable=false,insertable=true,updatable=true,length=256)
    public String getAppPrivateCarScale() {  return appPrivateCarScale;  }
}
